<?php
/**		
 * @author Matteo Vigoni <mattevigo@gmail.vom>																	
 * @package PHPorcupine
 * @version 1.0
 * 
 * Default template	for public side																								 
 */
defined("_ENTRY_") or die("Restricted Access!!");

define ("LOCAL_VIEWS", TEMPLATES_DIR.DS."default".DS."views");

$model = $this->getModel();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<link type="text/css" rel="stylesheet" href="<?php echo WEB_ROOT."/pages/templates/default/style.css"; ?>" />
	
	<title><?php echo $this->get('title'); ?></title>
</head>

<body>
	<div id="recipient">
		<div id=header><h2><?php echo SITE_NAME; ?></h2></div>
		
		<div id="main">
			<div id="main_recipient_left">
				<div id="main_recipient_left_header"></div>
				<div id="main_content"><?php load_view( $model->getView(), &$model );?></div>
			</div>
			<div id="main_recipient_right">
				<div id="map_container"></div>
				<div id="right_banner_recipient">
					<div id="right1" class="right_banner">Banner_3</div>
					<div id="right2" class="right_banner">Banner_4</div>	
				</div>
			</div>
		</div> <!-- END main -->
		
		<div id="footer">Footer</div>
		
	</div> <!-- END recipient -->
</body>
</html>